package cn.itrip.auth.service;

import cn.itrip.beans.pojo.ItripUser;

public interface TokenService {
    public String generateToken(String userAgent, ItripUser user) throws Exception;
    public void save(String token, ItripUser user )throws Exception;
    public boolean validate(String userAgent,String token)throws Exception;
    public  void  delete(String token);
    public  String  reloadToken(String userAgent,String token) throws Exception;
}

